<?php
/**
 *    view module: whos viewed your profile
 *    File: modules/whos_viewed_your_profile.php
 */

  $num_views = $this->modules->getNumViewMyProfile();
  $num_days = $this->config->item('num_last_days_who_viewed_profile');
  $view_price = $this->config->item('who_viewed_profile_cost');
?>

        <h4><?php echo lang('whos_viewed_your_profile'); ?></h4>
        <p class="view-profil"><span><?php echo $num_views; ?></span><?php printf(lang('your_profile_has_been_seen'),$num_views,$num_days);  ?>.</p>
        <a href="<?php echo base_url(); ?>profile/whos-viewed-my-profile.htm" class="_no_confirmLink" title='<?php echo lang('whos_viewed_my_profile');?>' alt='<?php printf(lang('confirm_view_whos_viewed_my_profile'),$view_price);?>'            
           <?php //if( false == $this->session->userdata('is_pay_who_viewed_profile') ) 
                /*{ ?>  
                    onclick="return confirm('<?php printf(lang('confirm_view_whos_viewed_my_profile'),$view_price); ?>')" 
          <?php } */?> 
        >
          <img src="<?php echo base_url(); ?>img/template/view-profil-btn.png" width="240" height="42" alt="viewed profil button" />
        </a>

        <script src="<?php echo base_url(); ?>js/dialog.js"></script>
        
        